using System;

namespace System.Data.DBLib
{
	/// <summary>
	/// Summary description for CErrItem.
	/// </summary>
	public class CDBError
    {
        #region Variables
        private string	m_strMessage = "";
		private string m_strErrorField = "";
		private int	m_nErrCode = 0;
		private int	m_nRetCode = 0;
        #endregion

        #region Constructor
        public CDBError()
		{
			//
			// TODO: Add constructor logic here
			//
        }
        #endregion

        #region Property
        public string Message
		{
			get
			{
				return m_strMessage;
			}
			set
			{
				m_strMessage = value;
			}
		}

		public string ErrField
		{
			get
			{
				return m_strErrorField;
			}
			set
			{
				m_strErrorField = value;
			}
		}

		public int ErrCode
		{
			get
			{
				return m_nErrCode;
			}
			set
			{
				m_nErrCode = value;
			}
		}

		public int RetCode
		{
			get
			{
				return m_nRetCode;
			}
			set
			{
				m_nRetCode = value;
			}
        }
        #endregion
    }
}
